package com.linkallcloud.core.dto;

import java.io.Serializable;
import java.util.List;

public class OrgArgs implements Serializable {
	private static final long serialVersionUID = -6477040900881274649L;

	private String orgType;

	// 无兼职用此两参数
	private Long companyId;// 所在单位
	private Long departmentId;// 所在部门

	// 有兼职用此两参数
	private List<Long> companyIds;// 若有兼职单位，含所有兼职单位和所在单位
	private List<Long> departmentIds;// 若有兼职部门，含所有兼职部门和所在部门

	public OrgArgs() {
		super();
	}

	public OrgArgs(String orgType, Long companyId, Long departmentId) {
		super();
		this.orgType = orgType;
		this.companyId = companyId;
		this.departmentId = departmentId;
	}

	public OrgArgs(String orgType, List<Long> companyIds, List<Long> departmentIds) {
		super();
		this.orgType = orgType;
		this.companyIds = companyIds;
		this.departmentIds = departmentIds;
	}

	public Long getCompanyId() {
		return companyId;
	}

	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}

	public String getOrgType() {
		return orgType;
	}

	public void setOrgType(String orgType) {
		this.orgType = orgType;
	}

	public List<Long> getCompanyIds() {
		return companyIds;
	}

	public void setCompanyIds(List<Long> companyIds) {
		this.companyIds = companyIds;
	}

	public Long getDepartmentId() {
		return departmentId;
	}

	public void setDepartmentId(Long departmentId) {
		this.departmentId = departmentId;
	}

	public List<Long> getDepartmentIds() {
		return departmentIds;
	}

	public void setDepartmentIds(List<Long> departmentIds) {
		this.departmentIds = departmentIds;
	}

}
